package test2;

public class test {
    public static void main(String[] args) {
        String str1 = "345";
        String str2 = "12345678";
        System.out.println(str2.indexOf(str1));
    }
}
